package com.hfmall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hfmall.entity.HfGoods;
import com.hfmall.entity.HfPictures;
import com.hfmall.entity.UtilGoodsVO;
import com.hfmall.mapper.HfGoodsMapper;
import com.hfmall.mapper.HfPicturesMapper;
import com.hfmall.mapper.UtilGoodsMapper;
import com.hfmall.service.IHfGoodsService;
import com.hfmall.service.UtilGoodsVOGoodsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
@Service
public class UtilGoodsVOServiceImpl extends ServiceImpl<UtilGoodsMapper, UtilGoodsVO> implements UtilGoodsVOGoodsService {
    @Resource
    private UtilGoodsMapper utilGoodsMapper;


    @Override  //根据商品id 查询商品规格
    public List<UtilGoodsVO> getGoodsClassById(int id) {
        return utilGoodsMapper.getGoodsClassById(id);
    }
}
